import request from '@/utils/request.js';

/**
 * 根据类型查询值
 * @param {Object} dictType
 */
export function dictTypeAapi(dictType) {
  return request({
    url: '/api/dictdata//bytype/'+dictType,
    method: 'get'
  })
}

/**
 * 根据类型查询值(匿名查询)
 * @param {Object} dictType
 */
export function anonDictTypeApi(dictType) {
  return request({
    url: '/anon/dictdata//bytype/'+dictType,
    method: 'get'
  })
}